package cn.crm.service;

import cn.crm.pojo.CrmStaff;
import cn.crm.utils.PageUtil;

public interface StaffService {

    //登陆
    CrmStaff findUserAndPass(String loginName, String passWord);

    //分页展示所有员工信息
    PageUtil findStaffInfo(int page,int size);

    //条件查询员工信息
    PageUtil findStaffByCondition(int page,int size,CrmStaff crmStaff);

    //根据员工id查询员工信息
    CrmStaff findStaffById(String staffId);

    //修改员工信息
    void updateStaffInfo(CrmStaff crmStaff);

    //添加员工
    void addStaff(CrmStaff crmStaff);
}
